package com.ht.domain.vo;

import com.ht.domain.bo.TbJuniorBO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 专科表实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
public class TbJuniorVO {
  private long id;
  private String juniorName;
  private long departmentId;

  public TbJuniorVO(TbJuniorBO tbJuniorBO) {
    this.id = tbJuniorBO.getId();
    this.juniorName = tbJuniorBO.getJuniorName();
    this.departmentId = tbJuniorBO.getDepartmentId();
  }
}
